package query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class ImagesQuery extends PageQuery{
    private String name;
    private String clazz;
    @DateTimeFormat(fallbackPatterns = "yyyy-MM-dd")
    private LocalDate uploadTime;
    private Long dayHot;
    private Long allHot;
    private String status;
}
